package com.hsm1;

public class Test {
    public static void main(String[] args) {
        Student s = new Student(17,19.0);
        System.out.println(s); //com.hsm1.Student@1b6d3586
        //System.out.println(s.toString());
        //上面是下面的缩写，toString是Object里面的函数

    }
}
